package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 实体类
 *
 * @author wenzhao.lin
 * @created 2021 -08-23 14:53:07
 * @date 2021 -08-23
 */
@Data
@DbTable(tableName = "t_extent_parts")
public class ExtentParts extends BaseEntity {

    /**
     * 片区ID
     */
    @ApiModelProperty(value = "片区ID")
    @DbTableField(columnName = "c_extent_id")
    public Integer extentId;

    /**
     * 部件Id
     */
    @ApiModelProperty(value = "部件Id")
    @DbTableField(columnName = "c_part_id")
    public Integer partId;

    /**
     * 部件名称
     */
    @ApiModelProperty(value = "部件名称")
    @DbTableField(columnName = "c_part_name")
    public String partName;

    /**
     * 描述
     */
    @DbTableField(columnName = "c_desc")
    public String desc;

    /**
     * 排序
     */
    @DbTableField(columnName = "c_sort")
    public Integer sort;

    /**
     * 状态 0:启用 1:关闭
     */
    @DbTableField(columnName = "c_status")
    public Integer status;

}
